import Login from "@/views/login/index";
import Register from "@/views/register/index";
import Auth from "@/views/authorization/index";

export default [
    {
        path: '/login',
        name: 'Login',
        component: Login,
        meta: {
            title: '登录',
        },
    },
    {
        path: '/register',
        name: 'Register',
        component: Register,
        meta: {
            title: '注册',
        },
    },
    {
        path: '/auth',
        name: 'Auth',
        component: Auth,
        meta: {
            title: '授权',
        },
    },
    {
        path: '/:pathMatch(.*)*',
        name: 'NotFound',
        component: () =>
            import ('/src/components/NotFound.vue'),
        meta: {
            title: '出错了......',
        },
    },
]